package edu.ua.jCompare;

  public class DiffData
  {

    /// <summary>Number of elements (lines).</summary>
     int Length;

    /// <summary>Buffer of numbers that will be compared.</summary>
     int[] data;

    /// <summary>
    /// Array of booleans that flag for modified data.
    /// This is the result of the diff.
    /// This means deletedA in the first Data or inserted in the second Data.
    /// </summary>
     boolean[] modified;

    /// <summary>
    /// Initialize the Diff-Data buffer.
    /// </summary>
    /// <param name="data">reference to the buffer</param>
     DiffData(int[] initData) {
      data = initData;
      Length = initData.length;
      modified = new boolean[Length + 2];
    } // DiffData

  }

